Metric details with threshold from accuracy metric
score
threshold
logloss
0.431098
nan
auc
0.872229
nan
f1
0.833564
0.504445
accuracy
0.809362
0.504445
precision
0.803884
0.504445
recall
0.865519
0.504445
mcc
0.613485
0.504445
Confusion matrix (at threshold=0.504445)
Predicted as long
Predicted as short
Labeled as long
1468
515
Labeled as short
328
2111
Learning curves
Decision Tree
Tree #1
Rules
if (Total Costs <= 9081.005) and (Total Costs <= 4890.975) and (CCS Diagnosis Code <= 253.5) then class: short (proba: 94.79%) | based on 3,260 samples
if (Total Costs <= 9081.005) and (Total Costs > 4890.975) and (CCS Diagnosis Code <= 253.5) then class: short (proba: 71.21%) | based on 3,102 samples
if (Total Costs > 9081.005) and (Type of Admission > 0.5) and (Total Charges > 45902.932) then class: long (proba: 92.45%) | based on 2,489 samples
if (Total Costs > 9081.005) and (Type of Admission > 0.5) and (Total Charges <= 45902.932) then class: long (proba: 69.89%) | based on 2,039 samples
if (Total Costs > 9081.005) and (Type of Admission <= 0.5) and (Total Costs <= 24177.08) then class: short (proba: 65.45%) | based on 1,094 samples
if (Total Costs > 9081.005) and (Type of Admission <= 0.5) and (Total Costs > 24177.08) then class: long (proba: 74.7%) | based on 494 samples
if (Total Costs <= 9081.005) and (Total Costs <= 4890.975) and (CCS Diagnosis Code > 253.5) then class: short (proba: 70.78%) | based on 438 samples
if (Total Costs <= 9081.005) and (Total Costs > 4890.975) and (CCS Diagnosis Code > 253.5) then class: long (proba: 81.38%) | based on 349 samples